package com.example.musicdemo.ui.activity

import androidx.appcompat.widget.Toolbar
import com.example.musicdemo.R
import com.example.musicdemo.base.BaseActivity
import org.jetbrains.anko.find

class SettingActivity: BaseActivity() {
    private val toolbar by lazy { find<Toolbar>(R.id.toolbar) }

    override fun getLayoutId(): Int {
        return R.layout.activity_setting
    }

    override fun initListener() {
        super.initListener()

        setSupportActionBar(toolbar)
    }

    override fun initData() {
        super.initData()
        initSettingToolbar()
    }

    private fun initSettingToolbar(){
        supportActionBar?.title = "设置"
    }

}